home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / locales.preinst < prev    next >
Text File  |  2008-06-18  |  294b  |  13 lines

  1. #!/bin/sh -e
  2.  
  3. # Disable obsolete /etc/locale.gen conffile
  4. if [ "$1" = "install" -o "$1" = "upgrade" ] && [ -e /etc/locale.gen ]; then
  5.     mkdir -p /var/lib/locales/supported.d
  6.     grep -v '^#' /etc/locale.gen >> /var/lib/locales/supported.d/local || true
  7.     rm -f /etc/locale.gen
  8. fi
  9.  
  10.  
  11.  
  12. exit 0
  13.